package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 客户对象 customer
 * 
 * @author ruoyi
 * @date 2019-10-16
 */
public class Customer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String name;

    /** 客户手机号 */
    @Excel(name = "手机号")
    private String telephone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String company;

    /** 面积 */
    @Excel(name = "面积")
    private String area;

    /** 类型（0-毛坯  1-遗留装修） */
    @Excel(name = "类型", readConverterExp = "0=毛坯,1=遗留装修")
    private Integer type;

    /** 客户分类（0-普通客户，1-重点客户） */
    @Excel(name = "客户分类", readConverterExp = "0=普通客户，1=重点客户")
    private Integer classify;

    /** 标识（0-可跟进，1-不跟进，2-签约） */
    @Excel(name = "标识", readConverterExp = "0=可跟进，1=不跟进，2=签约，3=无状态")
    private Integer identification;

    /** 管理员标识（0-可跟进，1-不跟进，2-签约） */
    @Excel(name = "管理员标识", readConverterExp = "0=可跟进，1=不跟进，2=签约，3=无状态")
    private Integer identificationAdmin;

    /** 标注 */
    @Excel(name = "标注")
    private String description;

    /** 业务员id */
    private Long memberId;

    @Excel(name = "业务员")
    private String memberName;

    private String record;

    /** 跟进时间 */
    private Date relationTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getArea()
    {
        return area;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public void setClassify(Integer classify)
    {
        this.classify = classify;
    }

    public Integer getClassify()
    {
        return classify;
    }
    public void setIdentification(Integer identification)
    {
        this.identification = identification;
    }

    public Integer getIdentification()
    {
        return identification;
    }
    public void setIdentificationAdmin(Integer identificationAdmin)
    {
        this.identificationAdmin = identificationAdmin;
    }

    public Integer getIdentificationAdmin()
    {
        return identificationAdmin;
    }
    public String getDescription()
    {
        return description;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public String getMemberName()
    {
        return memberName;
    }

    public void setMemberName(String memberName)
    {
        this.memberName = memberName;
    }
    public String getRecord()
    {
        return record;
    }

    public void setRecord(String record)
    {
        this.record = record;
    }
    public Date getRelationTime()
    {
        return relationTime;
    }

    public void setRelationTime(Date relationTime)
    {
        this.relationTime = relationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("telephone", getTelephone())
            .append("address", getAddress())
            .append("company", getCompany())
            .append("area", getArea())
            .append("type", getType())
            .append("classify", getClassify())
            .append("identification", getIdentification())
            .append("identificationAdmin", getIdentificationAdmin())
            .append("description", getDescription())
            .append("remark", getRemark())
            .append("memberId", getMemberId())
            .append("createTime", getCreateTime())
            .append("relationTime", getRelationTime())
            .toString();
    }
}
